<?php	
	$contentVN		= $func->html_post('contentVN');
	$contentEN		= $func->html_post('contentEN');
	$mapVN			= $func->html_post('mapvn');
	$mapEN			= $func->html_post('mapen');
	$RowVN			= $interfaces_class->GetByName('contact_me_vn');
	$RowEN			= $interfaces_class->GetByName('contact_me_en');
	$RowMapVN		= $interfaces_class->GetByName('map_vn');
	$RowMapEN		= $interfaces_class->GetByName('map_en');
	if(is_array($RowVN)){
		$KQ = $interfaces_class->Edit('contact_me_vn',$contentVN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}else{
		$KQ = $interfaces_class->Add('contact_me_vn',$contentVN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}
	if(is_array($RowEN)){
		$KQ = $interfaces_class->Edit('contact_me_en',$contentEN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}else{
		$KQ = $interfaces_class->Add('contact_me_en',$contentEN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}
	if(is_array($RowMapVN)){
		$KQ = $interfaces_class->Edit('map_vn',$mapVN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}else{
		$KQ = $interfaces_class->Add('map_vn',$mapVN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}
	if(is_array($RowMapEN)){
		$KQ = $interfaces_class->Edit('map_en',$mapEN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}else{
		$KQ = $interfaces_class->Add('map_en',$mapEN);
		if($KQ==1){
			$func->SetSession('admin_fasle',$config_nc->Successful);
		}else{
			$func->SetSession('admin_fasle',$config_nc->Error);
		}
	}
	header('location:'.$WEB_DOMAIN.'/'.$WEB_ADMIN.'/index.php?u1=contact-me');

?>
